/* eslint-disable no-unused-vars */
export default {
  dataList: [],
  createDataList() {
    this.dataList = [];
    for (let i = 0; i < 5; i++) {
      this.dataList.push({ name: Math.random(), id: i });
    }
    return this.dataList;
  },
  getDataList() {
    return this.createDataList();
  },
};
